//
//  MZRecommendModel.m
//  OurTourism
//
//  Created by 孟镇 on 15/11/24.
//  Copyright © 2015年 Devil_Coming. All rights reserved.
//

#import "MZRecommendModel.h"

@implementation MZRecommendModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        if ([[value class] isSubclassOfClass:[NSNumber class]]) {
            self.valueId = [NSString stringWithFormat:@"%@", value];
        }
        else
        {
            self.valueId = value;
        }
    }
    if ([key isEqualToString:@"data"]) {
        
        self.dataValue = value;
    }
    
}

@end
